<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<link rel="stylesheet" type="text/css" href="../../../Themes/default/easyui.css">
		<link rel="stylesheet" type="text/css" href="../../../Themes/icon.css">
		<link rel="stylesheet" type="text/css" href="../../../CSS/demo.css">
		<link rel="stylesheet" type="text/css" href="../../../CSS/common.css">
	</head>
	<style>
		.iframeStyle {
			width: 100%;
			height: 450px;
		}
	</style>

	<body style="padding: 0px;">
		<div class="easyui-layout" style="width:100%;height:550px;">

			<div data-options="region:'center'">
				<div id="div_tabs" class="easyui-tabs" style="width: 100%;">
					<div title="订货单位" style="overflow:hidden">
						<iframe id="ifrmOrderunit" src="BasicInformationOrderUnitList.html" style="width: 100%;height: 514px;" scrolling="no" frameborder="0" class="iframeStyle"></iframe>
					</div>
					<div title="内部商品">
						<iframe id="ifrmProductGrading" src="BasicInformationInternalProductGradingList.html" style="width: 100%;height: 514px;" scrolling="no" frameborder="0" class="iframeStyle"></iframe>
					</div>
					<div title="供货单位" style="overflow:hidden">
						<iframe id="ifrmUnit" src="BasicInformationSupplyUnitList.html" style="width: 100%;height: 514px;" scrolling="no" frameborder="0" class="iframeStyle"></iframe>
					</div>
					<div title="转换表" style="overflow:hidden">
						<iframe id="ifrmConvertTable" src="BasicInformationConvertTableList.html" style="width: 100%;height: 514px;" scrolling="no" frameborder="0" class="iframeStyle"></iframe>
					</div>
				</div>
			</div>
	</body>
	<script type="text/javascript" src="../../../JS/jquery.min.js"></script>
	<script type="text/javascript" src="../../../JS/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="../../../JS/common.js"></script>
	<script type="text/javascript">
		$('#div_tabs').tabs({
			onSelect: function(title) {
				switch(title) {
					case "订货单位":
						document.getElementById('ifrmOrderunit').contentWindow.location.reload(true);
						break;
					case "内部商品":
						document.getElementById('ifrmProductGrading').contentWindow.location.reload(true);
						break;
					case "供货单位":
						document.getElementById('ifrmUnit').contentWindow.location.reload(true);
						break;
						//					case "库存量":
						//						document.getElementById('ifrmStock').contentWindow.location.reload(true);
						//						break;
					case "转换表":
						document.getElementById('ifrmConvertTable').contentWindow.location.reload(true);
						break;
						//					case "对照表":
						//						document.getElementById('ifrmComparison').contentWindow.location.reload(true);
						//						break;
				}
			}
		});
		Tabs_Hover();

		function dialogClose() {
			AddDialog.dialog('close');
		}
	</script>

</html>